home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.xa;
-
- import com.extensibility.app.DialogFactory;
- import com.extensibility.app.UI;
- import com.extensibility.xml.URI;
- import com.extensibility.xml.URIResolver;
- import java.awt.Component;
-
- class SchemaDoc$10 implements URIResolver {
- // $FF: synthetic field
- final SchemaDoc this$0;
- URI lastURI;
-
- public URI resolve(URI var1) {
- URI var2 = new URI(this.lastURI, var1.getShortName());
- if (var2.exists()) {
- return var2;
- } else {
- var2 = DialogFactory.askURI((Component)null, this.this$0.getURI(), new String[]{this.this$0.schema.getFlavorName()}, var1.getFullName(), UI.getString("dialog.askURI.prompt.unable.to.locate"));
- if (var2 != null) {
- this.lastURI = var2;
- }
-
- return var2;
- }
- }
-
- public URI resolve(String var1) {
- return this.resolve(new URI(var1));
- }
-
- SchemaDoc$10(SchemaDoc var1) {
- this.this$0 = var1;
- }
- }
-